package 懒汉单例;

public class Main {
    public static void main(String[] args) {
        demo demo1 = demo.getInstance();
        demo demo2 = demo.getInstance();
        System.out.println(demo1==demo2);
    }

}
